<template>
    <div class="cell" 
        :class="{border:border}">
        <div class="cell__item">
            <slot class="item_sub" name="left">
                <i class="iconfont icon-wenti-copy"></i>
                <span>使用实例</span>
            </slot>
        </div>
        <div class="cell__item">
            <slot class="item_sub" name="right">
                <i class="iconfont icon-wenti-copy"></i>
                <span>常见问题</span>
            </slot>
        </div>
    </div>
</template>

<script>
    export default {
        name:'icell',
        data(){
            return{
                showDetail:false
            }
        },
        props:{
            border:{
                type:Boolean,
                default:false
            }
        }
    }
</script>

<style lang="scss" scoped>
    @import '../../style/var.scss';
    .cell{
        position: relative;
        display: flex;
        justify-content: space-between;
        padding:50px;
        font-size: 14px;
        background:$white;
        color:$font_color_sub;
        &.border{
            box-shadow: 0 0 1px 0 $border_base;
        }

        .cell__item{
            display: flex;
            flex-direction: column;
            i{
                padding:0 20px;
            }
        }

    }
</style>

